package wxk.interview.syn;

/**
 * @author wangxuekai
 * @version 2.2
 * @Date 2017/3/15.
 * @since 2.2
 */
public class Main {

    public static void main(String[] args){

        CMB cmb = new CMB();
        Customer c1 = new Customer(cmb);

        Thread t1 = new Thread(c1);
        Thread t2 = new Thread(c1);

        t1.start();
        cmb.deduct(100);

    }
}
